]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
unlockDialog: Use "normal" background
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Feb 2020 22:16:38 +0000 (23:16 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 21 Feb 2020 12:34:37 +0000 (12:34 +0000)
Now that we apply a strong blur effect to the background, it doesn't
make too much sense to use a separate lock-screen background: It will
be mostly unrecognizable anyway.

The alternative would be to turn off the blur effect if a different
background is used (or have a hidden setting for that), but that would
then imply that we must keep the contents readable without blur.

Let's avoid that rabbit hole and just re-use the regular background.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1001

js/ui/unlockDialog.js

index 7f33e68e123baa11fa3e5a825dc7ca2253752b29..5a3d24fd22cf7ca3680b28e8e37532de47735bac 100644 (file)
@@ -18,8 +18,6 @@ const IDLE_TIMEOUT = 2 * 60;
 // The timeout before showing the unlock hint (in seconds)
 const HINT_TIMEOUT = 4;
 
-const SCREENSAVER_SCHEMA = 'org.gnome.desktop.screensaver';
-
 const CROSSFADE_TIME = 300;
 const FADE_OUT_TRANSLATION = 200;
 const FADE_OUT_SCALE = 0.3;
@@ -624,7 +622,6 @@ var UnlockDialog = GObject.registerClass({
             container: widget,
             monitorIndex,
             controlPosition: false,
-            settingsSchema: SCREENSAVER_SCHEMA,
         });
 
         this._bgManagers.push(bgManager);